package Week03.Day02.Practice2;

public class Test {
    public void fly(Fly fly){
        fly.fly();
    }

    public static void main(String[] args) {
        Test test = new Test();
        test.fly(new Bird());
        test.fly(new Plane());
        test.fly(new SuperMan());
    }
}
